package com.huibo.common;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class RedisController {

	@GetMapping("/getRedis/{key}")
	public String getRedis(@PathVariable("key") String key) {
		return "redis:"+key;
	}
}
